import {
    native,
    sys,
    input,
    assetManager,
    AudioSource,
    director,
    Size,
    view,
    Vec2,
    Director,
    Canvas,
    sp,
    js,
    game,
    Game,
    TextAsset,
    Color,
    Vec3,
    ccenum,
    Graphics,
    Animation,
    Node,
    Widget,
    BlockInputEvents,
    Camera,
    Collider2D,
    Component,
    dragonBones,
    EditBox,
    EventKeyboard,
    EventMouse,
    EventTouch,
    Input,
    isValid,
    Label,
    Layout,
    Mask,
    MeshRenderer,
    MotionStreak,
    PageView,
    RigidBody2D,
    Scene,
    ScrollBar,
    ScrollView,
    Sprite,
    UIOpacity,
    UIRenderer,
    UITransform,
    warn,
    lerp,
    instantiate,
    CCObject,
    Asset,
    Prefab,
    SpriteFrame,
    Material,
    _decorator,
    EventHandler,
    Quat,
    Mat4,
    RenderTexture,
    Tween,
    TweenSystem,
    AudioClip,
    Layers,
    macro,
    SubContextView,
    CCInteger,
    ViewGroup,
    math,
    CCFloat,
    ParticleSystem2D,
} from "cc"

import { EDITOR } from "cc/env"

window["_cc_"] = {
    ParticleSystem2D,
    CCFloat,
    math,
    ViewGroup,
    CCInteger,
    SubContextView,
    native,
    sys,
    input,
    assetManager,
    AudioSource,
    director,
    Size,
    view,
    Vec2,
    Director,
    Canvas,
    sp,
    js,
    game,
    Game,
    TextAsset,
    Color,
    Vec3,
    ccenum,
    Graphics,
    Animation,
    Node,
    Widget,
    BlockInputEvents,
    Camera,
    Collider2D,
    Component,
    dragonBones,
    EditBox,
    EventKeyboard,
    EventMouse,
    EventTouch,
    Input,
    isValid,
    Label,
    Layout,
    Mask,
    MeshRenderer,
    MotionStreak,
    PageView,
    RigidBody2D,
    Scene,
    ScrollBar,
    ScrollView,
    Sprite,
    UIOpacity,
    UIRenderer,
    UITransform,
    warn,
    lerp,
    instantiate,
    CCObject,
    Asset,
    Prefab,
    SpriteFrame,
    Material,
    _decorator,
    EventHandler,
    Quat,
    Mat4,
    RenderTexture,
    Tween,
    TweenSystem,
    AudioClip,
    Layers,
    macro,
}
window["_cc_"].EDITOR = EDITOR

// console.log("CCImport")